home *** CD-ROM | disk | FTP | other *** search
- /* Copyright 1992 H.Ogasawara (COR.) */
- /* MenuButton を追加 1994 CAB */
- /* TouchButton を追加 1994 CAB */
-
- #define PushButton 0
- #define PushButtonStr 1
- #define PushButtonSht 2
- #define ToggleButton 3
- #define MenuButton 4
- #define TouchButton 5
-
- typedef struct mb {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- } MgButton;
-
- typedef struct mbs {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- char *str;
- short attr;
- short font;
- short h;
- } MgButtonStr;
-
- typedef struct mbt {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- Sheet *shon, *shoff;
- } MgButtonSht;
-
- typedef struct tbs {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- int *sw;
- } MgButtonTgl;
-
- typedef struct mmb {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- int (*exec)();
- int opt;
- #if 0
- char **item; /* ポップアップメニュー関数用選択項目 */
- int items; /* 選択項目数 */
- int font; /* 文字フォント */
- #endif
- } MgButtonMenu;
-
- typedef struct tcb {
- int x1, y1, x2, y2;
- struct mb *next;
- int type;
- int ret;
- } MgButtonTouch;
-
-